package com.sanri.buildingblock.exportcenter.remote.dto;

import com.sanri.buildingblock.exportcenter.enums.OperationType;
import com.sanri.buildingblock.exportcenter.enums.Sync;

/**
 * @description:
 * @author: huangzhengri
 * @time: 2023-04-14 15:28
 */
public class TaskConfig {
    private String uniqueId;
    private String description;
    private OperationType opType;
    private String target;
    private String application;
    private Sync sync;

    public void config(String uniqueId,String description, OperationType opType, String target,String application, Sync sync){
        this.uniqueId = uniqueId;
        this.description = description;
        this.opType = opType;
        this.target = target;
        this.application = application;
        this.sync = sync;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public OperationType getOpType() {
        return opType;
    }

    public void setOpType(OperationType opType) {
        this.opType = opType;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public Sync getSync() {
        return sync;
    }

    public void setSync(Sync sync) {
        this.sync = sync;
    }
}
